package com.xiaomi.dao;


import com.xiaomi.entity.User;

/**
 * @InterfaceName UserDao
 * @Description: TODO
 * @Author jy
 * @Date 2021/5/22
 **/
public interface UserDao {

    User checkUser(String username) throws Exception;

    int register(User user) throws Exception;

    User login(String username, String password) throws Exception;
}
